package com.ssd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * OrderDetailEntity 类
 *
 * @title:
 * @requirement:
 * @ClassName:
 * @author:首雯静
 * @creationTime:2024-11-22/14:29
 * @version: 1.0
 */
@Data
@TableName(value = "tb_order_details")
public class OrderDetailEntity implements Serializable {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
    @TableField(value = "order_id")
    private Long orderId;
    @TableField(value = "sku_id")
    private Long skuId;
    @TableField(value = "sku_name")
    private String skuName;
    @TableField(value = "class_id")
    private Integer classId;
    @TableField(value = "price")
    private Integer price;
    @TableField(value = "number")
    private Integer number;
}
